cURL
curl --request POST \ --url 'http://{{base_url}}/api/confirm-email' \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "email": "{{user_email}}", "code": "55uans" } '
{ "message": "Email confirmed" }
The body is of type object.
object
OK
The response is of type object.